<?php

namespace DesignNew\Builder;

require('../vendor/autoload.php');
/**
 * 生产房门的工厂
 */
class BuilderClient{

    public function __construct()
    {
        $this->run();
    }

    public function run()
    {
        $burger = (new BurgerBuilder(14))
                ->addPepperoni()
                ->addLettuce()
                ->addTomato()
                ->build();
    }
}

$client = new BuilderClient();